package com.heatup.apt.model.course;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 只有私教订单用到该表。 用户签到一次加一条记录。 教练每销一次课，update一条记录。
这张表也用作日程记录表
 *
 */
@TableName("course_sign")
public class CourseSign implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 订单id */
	@TableField(value = "order_id")
	private Integer orderId;

	/** 课程id */
	@TableField(value = "course_id")
	private Integer courseId;

	/** 课程名称 */
	@TableField(value = "course_name")
	private String courseName;

	/** 课时序号 */
	@TableField(value = "course_number")
	private Integer courseNumber;

	/** 总课程的第几节课 */
	@TableField(value = "course_sort_num")
	private Integer courseSortNum;

	/** 该教练的第几节课 */
	@TableField(value = "coach_course_sort_num")
	private Integer coachCourseSortNum;

	/** 总课时数 */
	private Integer periods;

	/** 用户id */
	@TableField(value = "user_id")
	private Integer userId;

	/** 销课的教练id */
	@TableField(value = "coach_id")
	private Long coachId;

	/** 销课的门店id */
	@TableField(value = "store_id")
	private Integer storeId;

	/** 门店名称 */
	@TableField(value = "store_name")
	private String storeName;

	/** 销课开始时间 */
	@TableField(value = "start_time")
	private Date startTime;

	/** 结束时间 */
	@TableField(value = "end_time")
	private Date endTime;

	/** 教练的销课结束时间 */
	@TableField(value = "close_time")
	private Date closeTime;

	/** 实际签到人数 */
	@TableField(value = "sign_person_count")
	private Integer signPersonCount;

	/** 是否已销课。（0: 未销。 1: 教练已销课） */
	private String isclose;

	/** 签到二维码 */
	@TableField(value = "sign_qr_code_url")
	private String signQrCodeUrl;

	/** 日程状态 1 表示有效 2 表示删除 */
	private Integer status;

	/** 备注 */
	private String remark;

	/** 录入人 */
	@TableField(value = "created_by")
	private Integer createdBy;

	/** 录入时间 */
	@TableField(value = "created_time")
	private Date createdTime;

	/** 修改人 */
	@TableField(value = "updated_by")
	private Integer updatedBy;

	/** 修改时间 */
	@TableField(value = "updated_time")
	private Date updatedTime;

	/** 签到类型 1 表示课程 2 表示日程备忘录 3 备忘录不添加到日程的  */
	@TableField(value = "sign_type")
	private Integer signType;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Integer getCourseNumber() {
		return this.courseNumber;
	}

	public void setCourseNumber(Integer courseNumber) {
		this.courseNumber = courseNumber;
	}

	public Integer getCourseSortNum() {
		return this.courseSortNum;
	}

	public void setCourseSortNum(Integer courseSortNum) {
		this.courseSortNum = courseSortNum;
	}

	public Integer getCoachCourseSortNum() {
		return this.coachCourseSortNum;
	}

	public void setCoachCourseSortNum(Integer coachCourseSortNum) {
		this.coachCourseSortNum = coachCourseSortNum;
	}

	public Integer getPeriods() {
		return this.periods;
	}

	public void setPeriods(Integer periods) {
		this.periods = periods;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Long getCoachId() {
		return this.coachId;
	}

	public void setCoachId(Long coachId) {
		this.coachId = coachId;
	}

	public Integer getStoreId() {
		return this.storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public String getStoreName() {
		return this.storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getCloseTime() {
		return this.closeTime;
	}

	public void setCloseTime(Date closeTime) {
		this.closeTime = closeTime;
	}

	public Integer getSignPersonCount() {
		return this.signPersonCount;
	}

	public void setSignPersonCount(Integer signPersonCount) {
		this.signPersonCount = signPersonCount;
	}

	public String getIsclose() {
		return this.isclose;
	}

	public void setIsclose(String isclose) {
		this.isclose = isclose;
	}

	public String getSignQrCodeUrl() {
		return this.signQrCodeUrl;
	}

	public void setSignQrCodeUrl(String signQrCodeUrl) {
		this.signQrCodeUrl = signQrCodeUrl;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedTime() {
		return this.updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getSignType() {
		return this.signType;
	}

	public void setSignType(Integer signType) {
		this.signType = signType;
	}

}
